package com.itheima.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.health.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

public interface OrderSettingService extends IService<OrderSetting> {
    //void saveOrderSettingBatch(List<String[]> ordersettinglist);
    //
    //Map findSettingData(int year, int month);
    //
    //void updateNumberByOrderDate(String orderdate, int number);
    //
    //int isOrderOkByOrderDate(String orderDate);
    //
    //void updateReservationsByOrderDate(String orderDate);

    void batchOrdeiSetting(List<String[]> strings);

    Map findSettingDate(int year, int month);

    Boolean updateNumberInfoOrderSetting(int number, String settingDay);

    int findNumberThenReservations(String date);

    void updateReservationByOrderDate(String orderDate);
}
